/*
 * Copyright (c) 2001-2009 Ihandy(Beijing) E-Biz Tech Co.,Ltd.
 * All rights reserved.
 * 北京无线天利有限公司 版权所有
 *
 * <p>AppSinaWbngDaoImpl.java</p>
 *   
 * Created on Mar 23, 2011, 1:15:38 PM by Administrator
 *
 */
package com.ihandy.yuncai.dao;

import javax.annotation.Resource;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

@Repository("aswdi")
public class AppSinaWbngDaoImpl {
    @Resource(name = "JdbcTemplate")
    private JdbcTemplate jdbcTemplate;

    public void add() {
	try{
	jdbcTemplate.execute("insert into test(name) values ('galala') ");
	}catch(Exception e){
	    e.printStackTrace();
	}
    }
}
